#define _CRT_SECURE_NO_WARNINGS 2
#include<iostream>

using namespace std;

class A
{
public:
	A()
	{
		cout << "A()" << endl;
	}

	~A()
	{
		cout << "~A()" << endl;
	}
};

int main()
{
	A* ptrA = new A[5];
	delete[] ptrA;
	cout << sizeof(long) << endl;
	cout << sizeof(short) << endl;
	const int a = 10;
	int* ptr = (int*)(&a);
	*ptr = 20;
	cout << "a:" << a << " *ptr" << *ptr << endl;
	return 0;
}